package com.jzo2o.customer.mapper;

import com.jzo2o.api.customer.dto.response.AddressBookResDTO;
import com.jzo2o.customer.model.domain.AddressBook;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

/**
 * <p>
 * 地址薄 Mapper 接口
 * </p>
 *
 * @author itcast
 * @since 2023-07-06
 */
public interface AddressBookMapper extends BaseMapper<AddressBook> {


    /**
     * 根据地址id查询地址信息         order 模块主要使用
     *
     * @param addressId
     * @return
     */
    AddressBookResDTO getAddressBookById(Long addressId);
}
